home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
program
/
snpd9611.zip
/
DIRPORT.H
< prev
next >
Wrap
Text File
|
1996-11-24
|
2KB
|
78 lines
.I 0 1
/* +++Date last modified: 08-Sep-1996 */
.D 1 1
.I 2 2
/*====================================================================
.I 11 1
__EMX__ Emx Gnu C
.I 40 4
15-May-96 David Nugent Added 32-bit OS/2 support (Watcom/emx)
04-Jul-96 Bob Stout Fixed attribute redefinition problems w/ TC 3.x
28-Jul-96 Bob Stout Fixed error in definition of ff_sec() in DOS
20-Aug-96 Bob Stout Eliminate Win32 conflicts
.I 48 13
#if defined(__OS2__)
#define OS2
#endif
#if defined(__EMX__)
#undef OS2
#define OS2
#endif
#if defined(OS2)
#undef MSDOS
#endif
.I 62 9
#undef _A_NORMAL
#undef _A_RDONLY
#undef _A_HIDDEN
#undef _A_SYSTEM
#undef _A_VOLID
#undef _A_SUBDIR
#undef _A_ARCH
#undef _A_ANY
.I 83 5
#define WIN32_LEAN_AND_MEAN
#define NOGDI
#define NOSERVICE
#undef INC_OLE1
#undef INC_OLE2
.I 84 1
#include <dos.h> /* #define's most _A_* file attribute macros */
.D 85 1
.I 110 1
int FIND_END(DOSFileData *ff);
.D 111 1
.I 169 11
#undef _SYSINT
#if defined(__FLAT__) || defined(__EMX__)
#undef _FILEFINDBUF
#define _FILEFINDBUF _FILEFINDBUF3
#define _SYSINT ULONG
#define FINDLVL FIL_STANDARD
#else
#define _SYSINT USHORT
#define FINDLVL 0L
#endif
.D 170 1
.I 171 1
HDIR dh;
.D 172 1
.I 210 1
#define ff_sec(x) (x)->time.tsecs
.D 211 1
.I 225 1
#if defined (_MSC_VER) || defined(_QC) || defined(__WATCOMC__) || defined(__EMX__)
.D 226 1
.I 227 4
int FIND_FIRST (char * spec, unsigned attr, DOSFileData *ff);
int FIND_NEXT (DOSFileData *ff);
int FIND_END (DOSFileData *ff);
.D 228 17